let arr = document.getElementById('introduce').getElementsByTagName('li')
let introduce = [...arr]
let active = true

introduce.forEach((item, index) => {
    item.onclick = () => {
        console.log(active)
        if (active) {
            $('#up' + (index + 1)).css({ height: "350px" })
            $('#introduce>div:not(#up' + (index + 1) + ')').css({ height: "0px" })
            active = false
        } else {
            $('#up' + (index + 1)).css({ height: "0px" })
            console.log($('#up' + (index + 1)))
            active = true
        }
    }
})
